Modifier and Type | Method and Description |
---|---|
NB3Message.MsgType |
NB3Message.getType() |
static NB3Message.MsgType |
NB3Message.MsgType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NB3Message.MsgType[] |
NB3Message.MsgType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
NB3Message(java.lang.String sender,
java.util.List<java.lang.String> receivers,
NB3Message.MsgType type,
java.util.List<? extends NB3Action> actions,
java.lang.String proposalID)
Constructor to create a message object that can be understood by the NB3 algorithm.
|